import request from "@/utils/request"

export const selectMuchEntry = (name) =>
    request({
        url: "/muchEntry",
        method: "post",
        params: {
            name: name,
        }
    })

export const selectMuchEntryTeam = (name) =>
    request({
        url: "/muchEntryteam",
        method: "post",
        params: {
            name: name,
        }
    })

export const deleteTeam = (id) =>
    request({
        url: "/deletTeam" + id,
        method: "delete"
    })

export const selectMeal = () =>
    request({
        url: "/selectSetMeals",
        method: "post"
    })

export const addTeamOne = (entryteam) =>
    request({
        url: "/addEntryteamByT",
        method: "post",
        data: entryteam
    })